<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div id="wrapper">
    <div class="main clearfix">
        <div class="col_730">        
            <div align="center">
                <h2>Actions</h2>
                <div class="actions">
                    <a href="#" onclick="coursingTeachers();"><img src="<c:url value="/assets/images/add.png"/>" alt="Execute coursing teachers" title="Execute coursing teachers" /></a>
                    <label class="action-text">Execute coursing teachers</label>
                </div>
                <div class="actions">
                    <a href="#" onclick="executeTimeTabling();"><img src="<c:url value="/assets/images/add.png"/>" alt="Execute timetabling" title="Execute timetabling" /></a>
                    <label class="action-text">Execute timetabling</label>
                </div>
            </div> 
        </div> 
    </div>
</div>
<script type="text/javascript">
    function executeTimeTabling(){
        window.location = "${baseUrl}/cp/timetabling.html";
    }
    
    function coursingTeachers()
    {
        window.location = "${baseUrl}/cp/coursing.html";
    }
</script>